package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.AppException;
import com.lungle.warmdiary.app.model.Entity;

import java.io.IOException;
import java.io.InputStream;

/**
 * Created by God on 2016/8/11.
 */
public class MediaChannel extends Entity {
    public static final int PLATFORM_WECHAT = 1;

    private String channelName;
    private int platform;

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    private MediaAccountList accounList = new MediaAccountList();

    public static Entity parse(InputStream inputStream) throws IOException,
            AppException {
        return null;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public MediaAccountList getAccounList() {
        return accounList;
    }

    public void setAccounList(MediaAccountList accounList) {
        this.accounList = accounList;
    }
}
